<h1 class="compras_titulo_pagina"><?php echo $titulo; ?></h1>

<div class="compras_erro">
    <?php
    if (validation_errors()) echo validation_errors()."<br>";
    if( isset($erro) ) echo $erro."<br>";
    ?>
</div>
<div class="compras_formulario_small">
<form id="f_login" action="<?php echo site_url("login/logar"); ?>" method="post">


         <label class="compras_formulario_label">E-mail</label>
            <input type="text" name="email" id="email" value="<?php echo set_value("email"); ?>" />

        <br clear="left" />

        <label class="compras_formulario_label">Senha</label>
            <input type="password" name="senha" id="senha" />

        <br clear="left" />

        <label class="compras_formulario_label">&nbsp;</label>
        <p style="float:left; ">Cliente&nbsp;</p><input style="float:left; height:12px;"type ="radio" name ="tipoLogin" value="cliente" CHECKED/>
        <p style="float:left; ">Fornecedor&nbsp;</p><input style="float:left; height:12px;" type ="radio" name ="tipoLogin" value="fornecedor"/>

        <br clear="left" />
        <br clear="left" />
        <input type="hidden" name="pagina" value="<?php echo $pagina; ?>" />
       <center><input type="image" name="bt"
           onmouseover="this.src ='<?php echo site_url('images/botoes/login_on.png'); ?>'"
           onmouseout="this.src ='<?php echo site_url('images/botoes/login.png'); ?>'"
           src="<?php echo site_url()."images/botoes/login.png";?>"
           value ="Enviar"
        /></center>

</form>
</div>        